import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import { initAxiosInstances } from '@monorepo/core/api/composables/useAxios'

// 注入环境变量
initAxiosInstances({
  api1: import.meta.env.VITE_API_HG_URL,
  api2: import.meta.env.VITE_API_PUBLIC_URL,
})

const store = createPinia()
const app = createApp(App)

app.use(store).use(router)

app.mount('#app')
